import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import filterPlugin from '@/filter';
import Toast, { POSITION } from 'vue-toastification';
import 'vue-toastification/dist/index.css';
import appLoadingMixin from '@/mixins/app/appLoading.mixin';
import requestPlugin from '@/lib/request/requestPlugin';

Vue.config.productionTip = false;
Vue.use(requestPlugin);
Vue.use(Toast, {
  position: POSITION.TOP_CENTER,
});
Vue.use(filterPlugin);
Vue.use(appLoadingMixin);
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
